FROM acaiee/alpine-java:cst
VOLUME /tmp
ARG JAR_FILE
COPY ${JAR_FILE} /app.jar
ENV JAVA_OPTS="\
-Xms512m \
-Xmx512m \
-XX:MetaspaceSize=128m \
-XX:MaxMetaspaceSize=512m"
ENV TZ="Asia/Shanghaid"
ENTRYPOINT java ${JAVA_OPTS} -jar /app.jar
